const user = {
	state: {
		userInfo: null
	},
	mutations: {
		SET_USERINFO(state, data) {
			state.userInfo = data;
		},
		UPDATE_USERINFO(state, data) {
			state.userInfo[data.key] = data.value;
		},
		RESET_USERINFO(state) {
			state.userInfo = null
		},
		
	},
	actions: {}
}
export default user;